package cn.nebula.music.domain;

import java.io.Serializable;

import org.springframework.context.annotation.Lazy;

public class SongSonglist implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer song;
	private Integer songlist;
	public Integer getSong() {
		return song;
	}
	public void setSong(Integer song) {
		this.song = song;
	}
	public Integer getSonglist() {
		return songlist;
	}
	public void setSonglist(Integer songlist) {
		this.songlist = songlist;
	}
	@Override
	public String toString() {
		return "SongSonglist [song=" + song + ", songlist=" + songlist + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((song == null) ? 0 : song.hashCode());
		result = prime * result + ((songlist == null) ? 0 : songlist.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		SongSonglist other = (SongSonglist) obj;
		if (song == null) {
			if (other.song != null)
				return false;
		} else if (!song.equals(other.song))
			return false;
		if (songlist == null) {
			if (other.songlist != null)
				return false;
		} else if (!songlist.equals(other.songlist))
			return false;
		return true;
	}

	
}
